//
//  UITableView+Extension.swift
//  LXTXShop
//
//  Created by apple on 2018/4/9.
//  Copyright © 2018年 LX. All rights reserved.
//

import UIKit

private var associationKey: UInt8 = 0

extension UITableView {
    
    var canEdit: String! {
        get {
            return objc_getAssociatedObject(self, &associationKey) as? String
        }
        set(newValue) {
            objc_setAssociatedObject(self, &associationKey, newValue, objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN)
        }
    }

    
}
